PlantSight Open 3D Model Bridge Help

Creating an iModel when you are not provisioning the iModel

If you are not provisioning using OpenPlant Project Administrator, you will need to manually create your own project and iModel before running the bridge as these are automatically done when using OpenPlant Project Administrator. iModel creation can be completed using Postman which can be downloaded from here:

https://www.postman.com/downloads/

  1. Run postman and login if required. Click New.
  2. Then Collection.
  3. Call it iTwinStack.
  4. Then click on and select Add Request.
  5. Give it a name like "Create iModel", and then click Save to iTwinStack.
  6. Expand the iTwin Stack node, And then click on the Create iModel entry.
  7. Change to POST from GET and paste in the following:
  8. The Blue text needs to be updated with a new GUID. You can generate a GUID by running Windows PowerShell and then enter New-Guid.
  9. Switch Authorization to BasicAuth.
  10. In this case, the user is "demo" for the username and "mydemo" is used for the password.
  11. Switch to the body and then select raw and JSON as indicated below:
  12. http://localhost:4000/sv1.1/Repositories/Context--c819c39c-c336-4310-b5f0-e3a189da8038/ContextScope/iModel

    Replace the bold text above with the GUID you created previously.

    Set the following in the body:

    {
      "instance": {
        "schemaName": "ContextScope",
        "className": "iModel",
        "properties": {
          "Name": "Test.001",
          "iModelTemplate": "Empty"
        }
      }
    }
    
  13. You can change the name from TestiModel to something else. Press Send, and you will get the following output.